<script>
	export default {
		globalData: {
		            text: 'text'
		},
		onLaunch: function() {
			console.log('App Launch')
			uni.hideTabBar();
			if(uni.getStorageSync('token')) {
				this.$store.commit('setToken', uni.getStorageSync('token'));
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	page {
		font-size: 28rpx;
		color: #333;
	}
	image{
		display: block;
	}
	.container{
		font-size: 28rpx;
		color: #333;
	}
	.pr{
		position: relative;
	}
	.flex{
		display: flex;
	}
	.fa{
		display: flex;
		align-items: center;
	}
	.fdc{
		flex-direction: column;
	}
	.fww{
		flex-wrap: wrap;
	}
	.jcc{
		justify-content: center;
	}
	.jcfe{
		justify-content: flex-end;
	}
	.jcsb{
		justify-content: space-between;
	}
	.aife{
		align-items: flex-end;
	}
	.flex1{
		flex: 1;
	}
	.fwb{
		font-weight: bold;
	}
	.minor{
		font-size: 24rpx;
		color: #999;
	}
	.ellipsis{
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		word-break: break-all;
	}
	.ell1{
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		word-break: break-all;
	}
	.ell2{
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		word-break: break-all;
	}
	.ell3{
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		word-break: break-all;
	}
	.pd30{
		padding: 30rpx;
	}
	.p30{
		padding: 0 30rpx;
	}
	.bgf{
		background: #fff;
	}
	.nav-left{
		width: 40rpx;
		height: 50rpx;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.line{
		width: 100%;
		height: 20rpx;
		background: #F5F5F5;
	}
	.btn{
		margin-top: 50rpx;
		width: 100%;
		height: 88rpx;
		line-height: 88rpx;
		border-radius: 44rpx;
		font-size: 32rpx;
		text-align: center;
		color: #fff;
		background: #769CFF;
	}
	.box {
		margin: 20rpx 20rpx 0;
		padding: 30rpx;
		border-radius: 10rpx;
		background: #fff;
	}
	.fixed-place {
		height: 98rpx;
	}
	.fixed-bottom {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 98rpx;
		background: #fff;
		box-shadow: 0 0 12rpx 1px rgba(45, 55, 90, 0.07);
		display: flex;
		align-items: center;
	}
	.nodata{
		margin-top: 30vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		font-size: 24rpx;
		color: #999;
	}
	.nodata image{
		width: 460rpx;
		height: 300rpx;
	}

	/* 
		uv-picker 样式
		注意事项请看根目录下的 注意.md 文件
	 */
	.uv-picker {
		background: #0B204C;
	}
	.uv-picker .picker-mask {
		background: transparent;
	}
	.uv-picker .uv-toolbar__title.uv-toolbar__title {
		color: #fff;
	}
</style>
